package com.jrx.anytxn.feign.api.request;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 请求apiserver  信用就医借据结清通知
 * @author chenj
 * @date 2022/10/8 10:50
 */
public class LoanPayOffReq implements Serializable {
    /**
     * 租户ID
     */
    @NotBlank(message = "租户ID不能为空")
    private String tenantId;

    /**
     * 用户ID
     */
    @NotBlank(message = "用户ID不能为空")
    private String userId;

    /**
     * 渠道号
     */
    @NotBlank(message = "渠道号不能为空")
    private String channelNo;

    /**
     * 还款流水号
     */
    @NotBlank(message = "还款流水号不能为空")
    private String seqNo;

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo;
    }

    public String getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(String seqNo) {
        this.seqNo = seqNo;
    }

    @Override
    public String toString() {
        return "LoanPayOffReq{" +
                "tenantId='" + tenantId + '\'' +
                ", userId='" + userId + '\'' +
                ", channelNo='" + channelNo + '\'' +
                ", seqNo='" + seqNo + '\'' +
                '}';
    }
}
